package HomespDTO;

import java.io.Serializable;


public class HomespDTO_category implements Serializable {

	private String cid;
	private String cname;
	private String enroldate;
	private int stat;
	public String getCid() {
		return cid;
	}
	public void setCid(String cid) {
		this.cid = cid;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public String getEnroldate() {
		return enroldate;
	}
	public void setEnroldate(String enroldate) {
		this.enroldate = enroldate;
	}
	public int getStat() {
		return stat;
	}
	public void setStat(int stat) {
		this.stat = stat;
	}
	@Override
	public String toString() {
		return "HomespDTO_category [cid=" + cid + ", cname=" + cname
				+ ", enroldate=" + enroldate + ", stat=" + stat + "]";
	}
	public HomespDTO_category(String cid, String cname, String enroldate,
			int stat) {
		super();
		this.cid = cid;
		this.cname = cname;
		this.enroldate = enroldate;
		this.stat = stat;
	}
	
	public HomespDTO_category(){}
	public HomespDTO_category(String cid, String cname){
		this.cid = cid;
		this.cname = cname;
	}
}
